package com.aggeek.springbootlearning;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * author:liuao
 * description:
 * Date: create on 21:22 2017/10/19
 * modify by:
 */
@Component
@ConfigurationProperties(prefix ="girl" )
public class GirlConf {
    private int age;
    private String cupSize;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getCupSize() {
        return cupSize;
    }

    public void setCupSize(String cupSize) {
        this.cupSize = cupSize;
    }
}
